from django.contrib import admin

# Register your models here.
from .models import Card


@admin.register(Card)
class CardAdmin(admin.ModelAdmin):
    list_display = ('id', 'card_name', 'card_price', 'duration','info','create_time','update_time')
    search_fields = ('user__username', 'movie__title')
    
    